package com.pan.enume;

import com.pan.dao.order1History.Order1HistoryDao;
import com.pan.dao.order2History.Order2HistoryDao;
import com.pan.entity.OperationOrder2History;
import lombok.Getter;

@Getter
public enum HistoryEnum {

    ORDER_1("OperationOrder1History", OperationOrder2History.class, Order1HistoryDao.class),
    ORDER_2("OperationOrder2History",OperationOrder2History.class, Order2HistoryDao.class);

    String historyName;

    Class historyType;

    Class daoClass;

    HistoryEnum(String historyName, Class historyType, Class daoClass) {
        this.historyName = historyName;
        this.historyType = historyType;
        this.daoClass = daoClass;
    }


}
